package com.huishen.edrivenew.bean;

import org.json.JSONObject;

import com.google.gson.Gson;
import com.huishen.edrivenew.base.BaseBean;

public class CoachBean extends BaseBean {
    
    public String path;
    public int headPort;
    
    public String carBrand;
    public String carNum;
    public String name;
    public String phone;
    public String trainSubject;
    public String trainType;
    public int id;
    public float score;
    
    public String toString() {
        return this.name + "  " + this.carBrand + "  " + this.carNum;
    }
    
    public static BaseBean parseJson(JSONObject jsonObj) {
        Gson gson = new Gson();
        
        CoachBean bean = gson.fromJson(jsonObj.toString(), CoachBean.class);
        
        return bean;
    }
    
    
    
    
    
}
